package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 传感器主题和设备关联数据对象 snmp_sensubjectdevice
 * 
 * @author ruoyi
 * @date 2025-08-26
 */
public class SnmpSensubjectdevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 传感器主题名称 */
    @Excel(name = "传感器主题名称")
    private String sensorsubject;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String deviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备IP地址 */
    @Excel(name = "设备IP地址")
    private String deviceIp;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSensorsubject(String sensorsubject) 
    {
        this.sensorsubject = sensorsubject;
    }

    public String getSensorsubject() 
    {
        return sensorsubject;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceIp(String deviceIp) 
    {
        this.deviceIp = deviceIp;
    }

    public String getDeviceIp() 
    {
        return deviceIp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sensorsubject", getSensorsubject())
            .append("deviceId", getDeviceId())
            .append("deviceName", getDeviceName())
            .append("deviceIp", getDeviceIp())
            .toString();
    }
}
